<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
          + request.getServerName() + ":" + request.getServerPort()
          + path;
  request.setAttribute("basePath", basePath);
%>
<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>公司列表展示</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="${basePath}/statics/css/font.css">
  <link rel="stylesheet" href="${basePath}/statics/css/xadmin.css">
  <script src="${basePath}/statics/js/jquery.min.js"></script>
  <script type="text/javascript" src="${basePath}/statics/lib/layui/layui.js" charset="utf-8"></script>
  <script type="text/javascript" src="${basePath}/statics/js/xadmin.js"></script>
  <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
  <!--[if lt IE 9]>
  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="layui-anim layui-anim-up">
<div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="">首页</a>
        <a href="">演示</a>
        <a>
          <cite>导航元素</cite></a>
      </span>
  <a class="layui-btn layui-btn-primary layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
    <i class="layui-icon" style="line-height:38px">ဂ</i></a>
</div>

  <table class="layui-table">
    <thead>
    <tr>
      <th>
        <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
      </th>
      <th>公司编号</th>
      <th>公司名称</th>
      <th>公司类型</th>
      <th>公司地址</th>
      <th>资产总额</th>
      <th>公司注册编号</th>
      <th>公司审核状态</th>
    </tr>
    </thead>
    <tbody>
      <tr>
        <td>
          <div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>

        </td>
        <th>${company.companyId}</th>
        <th>${company.companyName}</th>
        <th>${company.companyType}</th>
        <th>${company.companySite}</th>
        <th>${company.companyProperty}</th>
        <th>${company.propertyAccNumber}</th>
        <th class="td-status">
          <span class="layui-btn layui-btn-normal layui-btn-sm">${company.companyStats}</span>
        </th>
      </tr>
    </tbody>
  </table>
</div>
</body>

</html>